package com.cjw.pojo.entity.database;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Table;

@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@Table(name = "user_role")
@ApiModel("角色")
public class Role extends BaseEntity{
    @ApiModelProperty("名称")
    private String name;
}
